package com.robmayhew.jsc;

import java.util.List;
import java.util.ArrayList;

/**
 * User: rmayhew
 * Date: Apr 11, 2005
 * Time: 4:24:35 PM
 */
public class Miss {

    private String word;
    private List occurrences = new ArrayList();

    public Miss(String word) {
        this.word = word;
    }

    public void add(Occurrence occ)
    {
        occurrences.add(occ);
    }

    public String getWord() {
        return word;
    }

    public int size()
    {
        return occurrences.size();
    }

    public Occurrence get(int i)
    {
        return (Occurrence)occurrences.get(i);
    }
}



/*
 *  $Log:  $ 
 */
